/*
 * @Author: your name
 * @Date: 2021-01-20 15:01:33
 * @LastEditTime: 2021-01-25 21:59:41
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \wms2\src\store\getters.js
 */
const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  isCanalAudit: state => state.user.isCanalAudit,
  code: state => state.user.code,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  party: state => state.user.party,
  warehouse_name: state => state.user.warehouse_name,
  driver: state => state.user.driver,
  secondUploadDetail: state => state.user.secondUploadDetail,
  branch: state => state.user.branch,
  orderOccupy: state => state.retailers.orderOccupy,
  resourcelist: state => state.user.resourcelist,
  translatelist: state => state.user.translatelist,
  client_id: state => state.user.client_id,
  client_secret: state => state.user.client_secret,
  dataType: state => state.user.dataType,
  warehouse_list: state => state.user.warehouse_list,
  authorizeDataCode: state => state.user.authorizeDataCode
}
export default getters
